package com.ants.boot.system.service;

import com.ants.boot.system.domain.OperateLog;
import com.ants.boot.system.dto.operatelog.QueryOperateLogDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 蚂蚁会花呗
 * @date 2022/1/11 17:12
 */
public interface OperateLogService extends IService<OperateLog> {

    /**
     * 分页搜索查询
     * @param dto
     * @return
     */
    IPage<OperateLog> pageInfo(QueryOperateLogDto dto);

    /**
     * 根据ids删除
     * @param ids
     * @return
     */
    boolean delLog(List<Integer> ids);
}
